//
//  MBQZRegionCell.m
//  发布求租
//
//  Created by MB__Lee on 2018/6/7.
//  Copyright © 2018年 MB__Lee. All rights reserved.
//

#import "MBQZRegionCell.h"

@interface MBQZRegionCell()

@property (weak, nonatomic) IBOutlet UILabel *nameLabel;

@end

@implementation MBQZRegionCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

-(void)setName:(NSString *)name{
    _name = name;
    self.nameLabel.text = name;
}
- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];
    if (selected) {
        self.nameLabel.textColor = MB_mainSelectedColor;
        
    }else{
        self.nameLabel.textColor = MB_mainColor;
    }
    
}

@end
